package cn.touna.jss.common.entity;

import cn.touna.risk.api.contraints.IdCard;
import org.hibernate.validator.constraints.NotBlank;

public class IdCardNameEntity {
    @NotBlank
    private String name;
    @IdCard
    private String idCard;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
